<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:o="http://openfaces.org/"
	template="/WEB-INF/esquema/plantillasimple.xhtml">

	<ui:define name="body">
		<h:form>
			<ul>
				<li>Primero lo primero</li>
				<li>#{authenticator.text}</li>
				<li>#{proxy.text}</li>
				<a4j:commandButton value="Test 7 sec" oncomplete="#{rich:component('confirmation-dialog')}.show();">
					<f:setPropertyActionListener target="#{dialogHelper.confirmMsg}" value="Esto es el mensaje de confirmacion"/>
					<f:setPropertyActionListener target="#{dialogHelper.confirmAction}" value="proxy.testWait(7000)"/>
				</a4j:commandButton>
				<a4j:commandButton value="Test 5 sec" action="#{proxy.testWait(5000)}"/>
				<a4j:commandButton value="Test 3 sec" action="#{proxy.testWait(3000)}"/>
				<a4j:commandButton value="Test 1 sec" action="#{proxy.testWait(1000)}"/>
			</ul>
		</h:form>
	</ui:define>

</ui:composition>
